import mindspore
import numpy as np
from mindspore import ops
import mindspore

ones =ops.Ones()
x = ones((2, 2, 3, 4), mindspore.float32)
y = ones((2, 2, 4, 5), mindspore.float32)
z = ops.matmul(x, y)

print(z)